using System;
using System.Collections.Generic;
using System.Text;

using Open.Data.Persistence;


namespace Open.Data.Persistence.Testing
{
    public class Product: Table
    {
        //Property variables
        private int _Id;
        private string _Description;
        private int _Weight;

        #region Interface

        [PrimaryKey]
        public virtual int Id
        {
            get
            {
                return _Id;
            }
            set
            {
                _Id = value;
            }
        }

        [Column]
        public virtual string Description
        {
            get
            {
                return _Description;
            }
            set
            {
                _Description = value;
            }
        }

        [Column]
        public int Weight
        {
            get 
            { 
                return _Weight;
            }
            set 
            { 
                _Weight = value; 
            }
        }

        #endregion
    }
}
